package com.iweb.shopping.service;

import com.iweb.shopping.model.Address_sh;
import com.iweb.shopping.model.Cart;
import com.iweb.shopping.model.Goods;
import com.iweb.shopping.model.Goodsdetail;
import com.iweb.util.PageModel;

import java.util.List;

public interface ShoppingService {
    //分页查询
    public List<Goods> selectByPage(PageModel pageModel,Integer userid);
    public Goodsdetail selectById(Integer goodsid);
    public List<Address_sh> queryAddress(Integer userid);
    public Address_sh queryAddressById(Integer addressid);
    public int deleteOne(Integer cartid);
    public int saveOne(Cart cart);
}
